Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
scandir
scandir
List files and directories in the specified path
Name:
scandir
Category:
Directory functions
Programming Language:
php
One-line Description:
Returns an array of files and directories in the specified directory.
Related
How to List Symbolic Links in a Directory and Their Target Files Using scandir?
7
How to Use scandir and filetype to Determine File Types and Categorize Files?
10
How to Distinguish Between Directories and Files in scandir Results
1
How to Fix scandir Not Listing Hidden Files in PHP? Troubleshooting and Solutions
7
How to Use the scandir Function to List Hidden Files? Step-by-Step Guide
3
Similar Functions
getcwd
getcwd
Getthecurrentworking
readdir
readdir
Readentriesfromdirec
rewinddir
rewinddir
Rewindthedirectoryha
dir
dir
Returnsaninstanceoft
chdir
chdir
Changedirectory
scandir
scandir
Listfilesanddirector
closedir
closedir
Closethedirectoryhan
chroot
chroot
Changetherootdirecto
Popular Articles
How to Distinguish Between Directories and Files in scandir Results
How to Use scandir and filetype to Determine File Types and Categorize Files?
How to Use the scandir Function to List Hidden Files? Step-by-Step Guide
How to List Symbolic Links in a Directory and Their Target Files Using scandir?
How to Fix scandir Not Listing Hidden Files in PHP? Troubleshooting and Solutions